from django.urls import path
from . import views

urlpatterns = [
    path("user/smscode/",views.SmsCode.as_view()), # 发送短信验证码
    path("user/register",views.Register.as_view()), # 注册
    path("user/login/code",views.CodeLogin.as_view()), # 手机验证码登录
    path("user/login",views.Login.as_view()), # 账号密码登录
    path("user/getuser",views.GetUser.as_view()), # 获取用户信息
    path("user/upload",views.Upload.as_view()), # 上传头像
    path("user/upmobile",views.UpMobile.as_view()), # 修改手机号
    path("user/update",views.Update.as_view()), # 修改个人资料
    path("user/getcz",views.GetCz.as_view()), # 获取充值
]